package com.ruoyi.project.data.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

import java.util.Date;

/**
 * 人员车辆对象 tb_transport_driver_car
 *
 * @author ruoyi
 * @date 2020-03-23
 */
public class TbTransportDriverCar extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 车辆编号 */
    private Long carId;

    /** 人员身份证号 */
    @Excel(name = "人员身份证号")
    private String userIdCard;

    /** 车辆类型（1载货汽车[一体车],2牵引车[车头],3挂车[]） */
    @Excel(name = "车辆类型", readConverterExp = "1=载货汽车[一体车],2牵引车[车头],3挂车[]")
    private String carType;

    /** 车牌号码 */
    @Excel(name = "车牌号码")
    private String carLicenceNumber;

    /** 车牌颜色 */
    @Excel(name = "车牌颜色")
    private String carLicenceColor;

    /** 车轴数 */
    @Excel(name = "车轴数")
    private String carAxleNums;

    /** 道路运输证号 */
    @Excel(name = "道路运输证号")
    private String transportCertificateNum;

    /** 核定载重量 */
    @Excel(name = "核定载重量")
    private String checkCarryingCapacity;

    /** 车辆总质量 */
    @Excel(name = "车辆总质量")
    private String carTotal;

    @Excel(name = "准牵引总质量")
    private String tractionMass;

    /** 行驶证主页照片 */
    @Excel(name = "行驶证主页照片")
    private String vehicleFirstPageUrl;

    /** 行驶证副页照片 */
    @Excel(name = "行驶证副页照片")
    private String vehicleSecondPageUrl;

    /** 道路运输证照片 */
    @Excel(name = "道路运输证照片")
    private String transportationPageUrl;

    /** 是否当前使用车（0 不是 1默认） */
    @Excel(name = "是否当前使用车", readConverterExp = "0=,不=是,1=默认")
    private String isCurrentUse;

    /** 是否已绑定挂车（0 未绑定 1已绑定） */
    @Excel(name = "是否已绑定挂车", readConverterExp = "0=,未=绑定,1=已绑定")
    private String hasTrailerCar;

    /** 当前绑定挂车编号 */
    @Excel(name = "当前绑定挂车编号")
    private Long trailerCarId;

    /** 是否验证通过（0验证失败 1验证通过 2默认） */
    @Excel(name = "是否验证通过", readConverterExp = "0=验证失败,1=验证通过,2=默认")
    private String isValid;

    /** 验证结果 */
    @Excel(name = "验证结果")
    private String validReason;

    /** 状态（0正常 1停用） */
    @Excel(name = "状态", readConverterExp = "0=正常,1=停用")
    private String status;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    /** 认证类型（0-系统认证；1-人工认证）**/
    private  String authenticationtype;

    /** 来源（1-识别；2-车型库）**/
    private String source;

    /** 车辆整备质量 **/
    private String unladenMass;
    /** 道路运输有效期**/
    private Date transportationValidDate;
    /** 道路运输状态**/
    private String  transportationState;

    private String carLicenceColorName;
    private String carTypeName;
    private String trailerCarNo;

    private String role;

    private Car car;

    /** 识别型号 **/
    private String model;
    /** 识别代号 **/
    private String vin;

    public void setCarId(Long carId)
    {
        this.carId = carId;
    }

    public Long getCarId()
    {
        return carId;
    }
    public void setUserIdCard(String userIdCard)
    {
        this.userIdCard = userIdCard;
    }

    public String getUserIdCard()
    {
        return userIdCard;
    }
    public void setCarType(String carType)
    {
        this.carType = carType;
    }

    public String getCarType()
    {
        return carType;
    }
    public void setCarLicenceNumber(String carLicenceNumber)
    {
        this.carLicenceNumber = carLicenceNumber;
    }

    public String getCarLicenceNumber()
    {
        return carLicenceNumber;
    }
    public void setCarLicenceColor(String carLicenceColor)
    {
        this.carLicenceColor = carLicenceColor;
    }

    public String getCarLicenceColor()
    {
        return carLicenceColor;
    }
    public void setCarAxleNums(String carAxleNums)
    {
        this.carAxleNums = carAxleNums;
    }

    public String getCarAxleNums()
    {
        return carAxleNums;
    }
    public void setTransportCertificateNum(String transportCertificateNum)
    {
        this.transportCertificateNum = transportCertificateNum;
    }

    public String getTransportCertificateNum()
    {
        return transportCertificateNum;
    }
    public void setCheckCarryingCapacity(String checkCarryingCapacity)
    {
        this.checkCarryingCapacity = checkCarryingCapacity;
    }

    public String getCheckCarryingCapacity()
    {
        return checkCarryingCapacity;
    }
    public void setCarTotal(String carTotal)
    {
        this.carTotal = carTotal;
    }

    public String getCarTotal()
    {
        return carTotal;
    }
    public void setVehicleFirstPageUrl(String vehicleFirstPageUrl)
    {
        this.vehicleFirstPageUrl = vehicleFirstPageUrl;
    }

    public String getVehicleFirstPageUrl()
    {
        return vehicleFirstPageUrl;
    }
    public void setVehicleSecondPageUrl(String vehicleSecondPageUrl)
    {
        this.vehicleSecondPageUrl = vehicleSecondPageUrl;
    }

    public String getVehicleSecondPageUrl()
    {
        return vehicleSecondPageUrl;
    }
    public void setTransportationPageUrl(String transportationPageUrl)
    {
        this.transportationPageUrl = transportationPageUrl;
    }

    public String getTransportationPageUrl()
    {
        return transportationPageUrl;
    }
    public void setIsCurrentUse(String isCurrentUse)
    {
        this.isCurrentUse = isCurrentUse;
    }

    public String getIsCurrentUse()
    {
        return isCurrentUse;
    }
    public void setHasTrailerCar(String hasTrailerCar)
    {
        this.hasTrailerCar = hasTrailerCar;
    }

    public String getHasTrailerCar()
    {
        return hasTrailerCar;
    }
    public void setTrailerCarId(Long trailerCarId)
    {
        this.trailerCarId = trailerCarId;
    }

    public Long getTrailerCarId()
    {
        return trailerCarId;
    }
    public void setIsValid(String isValid)
    {
        this.isValid = isValid;
    }

    public String getIsValid()
    {
        return isValid;
    }
    public void setValidReason(String validReason)
    {
        this.validReason = validReason;
    }

    public String getValidReason()
    {
        return validReason;
    }
    public void setStatus(String status)
    {
        this.status = status;
    }

    public String getStatus()
    {
        return status;
    }
    public void setDelFlag(String delFlag)
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag()
    {
        return delFlag;
    }

    public String getAuthenticationtype() {
        return authenticationtype;
    }

    public void setAuthenticationtype(String authenticationtype) {
        this.authenticationtype = authenticationtype;
    }

    public String getUnladenMass() {
        return unladenMass;
    }

    public void setUnladenMass(String unladenMass) {
        this.unladenMass = unladenMass;
    }

    public Date getTransportationValidDate() {
        return transportationValidDate;
    }

    public void setTransportationValidDate(Date transportationValidDate) {
        this.transportationValidDate = transportationValidDate;
    }

    public String getTransportationState() {
        return transportationState;
    }

    public void setTransportationState(String transportationState) {
        this.transportationState = transportationState;
    }

    public String getCarLicenceColorName() {
        return carLicenceColorName;
    }

    public void setCarLicenceColorName(String carLicenceColorName) {
        this.carLicenceColorName = carLicenceColorName;
    }

    public String getCarTypeName() {
        return carTypeName;
    }

    public void setCarTypeName(String carTypeName) {
        this.carTypeName = carTypeName;
    }

    public String getTrailerCarNo() {
        return trailerCarNo;
    }

    public void setTrailerCarNo(String trailerCarNo) {
        this.trailerCarNo = trailerCarNo;
    }

    public String getTractionMass() {
        return tractionMass;
    }

    public void setTractionMass(String tractionMass) {
        this.tractionMass = tractionMass;
    }

    public String getRole() {
        return role;
    }

    public void setRole(String role) {
        this.role = role;
    }

    public Car getCar() {
        return car;
    }

    public void setCar(Car car) {
        this.car = car;
    }

    public String getSource() {
        return source;
    }

    public void setSource(String source) {
        this.source = source;
    }

    public String getModel() {
        return model;
    }

    public void setModel(String model) {
        this.model = model;
    }

    public String getVin() {
        return vin;
    }

    public void setVin(String vin) {
        this.vin = vin;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("carId", getCarId())
            .append("userIdCard", getUserIdCard())
            .append("carType", getCarType())
            .append("carLicenceNumber", getCarLicenceNumber())
            .append("carLicenceColor", getCarLicenceColor())
            .append("carAxleNums", getCarAxleNums())
            .append("transportCertificateNum", getTransportCertificateNum())
            .append("checkCarryingCapacity", getCheckCarryingCapacity())
            .append("carTotal", getCarTotal())
            .append("vehicleFirstPageUrl", getVehicleFirstPageUrl())
            .append("vehicleSecondPageUrl", getVehicleSecondPageUrl())
            .append("transportationPageUrl", getTransportationPageUrl())
            .append("isCurrentUse", getIsCurrentUse())
            .append("hasTrailerCar", getHasTrailerCar())
            .append("trailerCarId", getTrailerCarId())
            .append("isValid", getIsValid())
            .append("validReason", getValidReason())
            .append("status", getStatus())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
